<div style="height: 100%; display: flex; flex-direction: column;">
    <div style="margin-bottom: 5px;">
        <button onclick="saveState()">Save State</button>
        <button onclick="restoreState()">Restore State</button>
        <button onclick="printState()">Print State</button>
        <button onclick="resetState()">Reset State</button>
        <button onclick="togglePivotMode()">Toggle Pivot Mode</button>
    </div>
    <div id="myGrid" style="flex: 1 1 0px" class="ag-theme-quartz"></div>
</div>

